package cn.tqfeiyang.smartadmin.system.request;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.*;
import lombok.Data;

/**
 * 配置修改请求
 *
 * @author tqfeiyang
 * @since 2024-08-22
 */
@Data
public class ConfigUpdateDTO {

    /**
     * 编码
     */
    @Schema(description = "编码")
    @Size(max = 100, message = "编码长度不能超过100字符")
    private String code;

    /**
     * 名称
     */
    @Schema(description = "名称")
    @Size(max = 100, message = "名称长度不能超过100字符")
    private String name;

    /**
     * 配置值
     */
    @Schema(description = "配置值")
    private String value;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

}